// 引入axios
import request from "@/utils/request";
// 引入数据类型
import type { NewAlbumList } from "./model/albumModel";

// 枚举接口
enum Api {
  getNewAlbumUrl = "/album/newest",
}
// 封装请求
export const getNewAlbumApi = () => {
  return request.get<any, NewAlbumList>(Api.getNewAlbumUrl);
};
